package com.yunfeisoft.business.dao.impl;

import com.yunfeisoft.business.dao.inter.ReceiveApplyDao;
import com.yunfeisoft.business.model.ReceiveApply;
import com.yunfeisoft.common.base.BaseDaoImpl;
import com.yunfeisoft.common.sql.builder.WhereBuilder;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * ClassName: ReceiveApplyDaoImpl
 * Description: 接待申请单Dao实现
 * Author: Jackie liu
 * Date: 2020-01-09
 */
@Repository
public class ReceiveApplyDaoImpl extends BaseDaoImpl<ReceiveApply, String> implements ReceiveApplyDao {

    @Override
    public Page<ReceiveApply> queryPage(Map<String, Object> params) {
        WhereBuilder wb = new WhereBuilder();
        if (params != null) {
            initPageParam(wb, params);
        }
        return queryPage(wb);
    }
}